$(function() {
    $('#example').dataTable( {
        initComplete: function () {
            var api = this.api();
            api.$('td').click( function () {
                api.search( this.innerHTML ).draw();
            } );
        }
    } );
    $('#example').colResizable( {
        liveDrag:true,
        gripInnerHtml:"<div class='grip'></div>",
        draggingClass:"dragging",
        resizeMode:'overflow'
    })
} );